---------------------------------------------------------------------------
Exception Traceback (most recent call last)
/usr/local/lib/python2.7/dist-packages/spectral/graphics/hypercube.pyc in on_paint(self, event)
341
342 if not self.gl_initialized:
--> 343 self.initgl()
344 self.gl_initialized = True
345 self.print_help()
/usr/local/lib/python2.7/dist-packages/spectral/graphics/hypercube.pyc in initgl(self)
313 import OpenGL.GL as gl
314 import OpenGL.GLU as glu
--> 315 self.load_textures()
316 gl.glEnable(gl.GL_TEXTURE_2D)
317 gl.glClearColor(*self.clear_color)
/usr/local/lib/python2.7/dist-packages/spectral/graphics/hypercube.pyc in load_textures(self)
278 texSizes = [(b, a), (b, c), (a, c), (b, c), (a, c), (b, a)]
279 for i in range(len(images)):
--> 280 img = images[i].tostring("raw", "RGBX", 0, -1)
281 (dim_x, dim_y) = images[i].size
282 texImages.append(img)
/usr/local/lib/python2.7/dist-packages/PIL/Image.pyc in tostring(self, *args, **kw)
697 def tostring(self, *args, **kw):
698 raise Exception("tostring() has been removed. " +
--> 699 "Please call tobytes() instead.")
700
701 def tobitmap(self, name="image"):
Exception: tostring() has been removed. Please call tobytes() instead.